<?php /* Smarty version 2.6.26, created on 2011-05-23 10:07:42
         compiled from editors/datetime_edit.tpl */ ?>
<?php if (! $this->_tpl_vars['DateTimeEdit']->GetReadOnly()): ?>
<?php if ($this->_tpl_vars['RenderText']): ?>
<input type="text" name="<?php echo $this->_tpl_vars['DateTimeEdit']->GetName(); ?>
" id="<?php echo $this->_tpl_vars['DateTimeEdit']->GetName(); ?>
" value="<?php echo $this->_tpl_vars['DateTimeEdit']->GetValue(); ?>
">
<button type="button" id="<?php echo $this->_tpl_vars['DateTimeEdit']->GetName(); ?>
_trigger">...</button>
<?php endif; ?>
<?php if ($this->_tpl_vars['RenderScripts']): ?>
<?php if ($this->_tpl_vars['RenderText']): ?>
<script type="text/javascript">
<?php endif; ?>
    Calendar.setup({
        inputField     :    "<?php echo $this->_tpl_vars['DateTimeEdit']->GetName(); ?>
",
        dateFormat     :    "<?php echo $this->_tpl_vars['DateTimeEdit']->GetFormat(); ?>
",
        showTime       :    <?php if ($this->_tpl_vars['DateTimeEdit']->GetShowsTime()): ?>true<?php else: ?>false<?php endif; ?>,
        trigger        :    "<?php echo $this->_tpl_vars['DateTimeEdit']->GetName(); ?>
_trigger",
        minuteStep     :    1,
        onSelect       :    function() { this.hide() },
        fdow           :    <?php echo $this->_tpl_vars['DateTimeEdit']->GetFirstDayOfWeek(); ?>

    });
<?php if ($this->_tpl_vars['RenderText']): ?>
</script>
<?php endif; ?>
<?php endif; ?>
<?php else: ?>
<?php if ($this->_tpl_vars['RenderText']): ?>
<?php echo $this->_tpl_vars['DateTimeEdit']->GetValue(); ?>

<?php endif; ?>
<?php endif; ?>